//
//  UIColor+Extension.swift
//  Weobo
//
//  Created by 史亚洲 on 16/1/26.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

extension UIColor{
    //测试颜色,全局的
    class func randomColor() -> UIColor {
        let red = CGFloat(random() % 256) / 255.0
        let green = CGFloat(random() % 256) / 255.0
        let blue = CGFloat(random() % 256) / 255.0
        return UIColor(red: red, green: green, blue: blue, alpha: 1.0)
        
        
    }


}
